package com.hellomeng.bean;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestCollectionBean {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
        CollectionBean collectionBean = (CollectionBean)applicationContext.getBean("collectionBean");
        System.out.println(collectionBean.getArrs());
        System.out.println(collectionBean.getProperties());
    }
}
//输出：
//[Ljava.lang.String;@52a86356
//{password=1234, username=root}
